﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009C7 RID: 2503
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class KDBJBOEGOKB : IMessage<KDBJBOEGOKB>, IMessage, IEquatable<KDBJBOEGOKB>, IDeepCloneable<KDBJBOEGOKB>, IBufferMessage
	{
		// Token: 0x17001FAD RID: 8109
		// (get) Token: 0x0600703C RID: 28732 RVA: 0x0012C8FE File Offset: 0x0012AAFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<KDBJBOEGOKB> Parser
		{
			get
			{
				return KDBJBOEGOKB._parser;
			}
		}

		// Token: 0x17001FAE RID: 8110
		// (get) Token: 0x0600703D RID: 28733 RVA: 0x0012C905 File Offset: 0x0012AB05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return KDBJBOEGOKBReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001FAF RID: 8111
		// (get) Token: 0x0600703E RID: 28734 RVA: 0x0012C917 File Offset: 0x0012AB17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return KDBJBOEGOKB.Descriptor;
			}
		}

		// Token: 0x0600703F RID: 28735 RVA: 0x0012C91E File Offset: 0x0012AB1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KDBJBOEGOKB()
		{
		}

		// Token: 0x06007040 RID: 28736 RVA: 0x0012C926 File Offset: 0x0012AB26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KDBJBOEGOKB(KDBJBOEGOKB other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007041 RID: 28737 RVA: 0x0012C93F File Offset: 0x0012AB3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KDBJBOEGOKB Clone()
		{
			return new KDBJBOEGOKB(this);
		}

		// Token: 0x06007042 RID: 28738 RVA: 0x0012C947 File Offset: 0x0012AB47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as KDBJBOEGOKB);
		}

		// Token: 0x06007043 RID: 28739 RVA: 0x0012C955 File Offset: 0x0012AB55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(KDBJBOEGOKB other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x06007044 RID: 28740 RVA: 0x0012C974 File Offset: 0x0012AB74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007045 RID: 28741 RVA: 0x0012C99A File Offset: 0x0012AB9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007046 RID: 28742 RVA: 0x0012C9A2 File Offset: 0x0012ABA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007047 RID: 28743 RVA: 0x0012C9AB File Offset: 0x0012ABAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007048 RID: 28744 RVA: 0x0012C9C4 File Offset: 0x0012ABC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007049 RID: 28745 RVA: 0x0012C9EA File Offset: 0x0012ABEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(KDBJBOEGOKB other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600704A RID: 28746 RVA: 0x0012CA07 File Offset: 0x0012AC07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600704B RID: 28747 RVA: 0x0012CA10 File Offset: 0x0012AC10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002AD5 RID: 10965
		private static readonly MessageParser<KDBJBOEGOKB> _parser = new MessageParser<KDBJBOEGOKB>(() => new KDBJBOEGOKB());

		// Token: 0x04002AD6 RID: 10966
		private UnknownFieldSet _unknownFields;
	}
}
